---
title: "Examples List: Workflows, Agents, RAG"
description: "Explore practical examples of AI development with Mastra, including text generation, RAG implementations, structured outputs, and multi-modal interactions. Learn how to build AI applications using OpenAI, Anthropic, and Google Gemini."
---

import { CardItems } from "@site/src/components/CardItems";

# Examples

The Examples section is a short list of example projects demonstrating basic AI engineering with Mastra, including text generation, structured output, streaming responses, retrieval‐augmented generation (RAG), and voice.

<CardItems
  titles={[
    "Workflow",
    "RAG",
    "Voice",
  ]}
  items={{
    Workflow: [
      {
        title: "Inngest Workflow",
        href: "/examples/v1/workflows/inngest-workflow",
      },
    ],
    RAG: [
      {
        title: "Metadata Extraction",
        href: "/examples/v1/rag/embedding/metadata-extraction",
      },
      {
        title: "Optimizing Information Density",
        href: "/examples/v1/rag/usage/cleanup-rag",
      },
      { title: "Metadata Filtering", href: "/examples/v1/rag/usage/filter-rag" },
      {
        title: "Chain of Thought Prompting",
        href: "/examples/v1/rag/usage/cot-rag",
      },
      {
        title: "Structured Reasoning with Workflows",
        href: "/examples/v1/rag/usage/cot-workflow-rag",
      },
      { title: "Graph RAG", href: "/examples/v1/rag/usage/graph-rag" },
    ],
    Voice: [
      { title: "Text to Speech", href: "/examples/v1/voice/text-to-speech" },
      { title: "Speech to Text", href: "/examples/v1/voice/speech-to-text" },
      { title: "Turn Taking", href: "/examples/v1/voice/turn-taking" },
      { title: "Speech to Speech", href: "/examples/v1/voice/speech-to-speech" },
    ],
  }}
/>
